package dataStructure.other;

/**
 * @author: vince_zww
 * @date: 2019/11/13 23:25
 * @desceription: 栈
 */
public class Stack {

    //基于数组实现的顺序栈
    public class ArrayStack{
        private String[] items; //数组
        private int count;  // 栈中元素个数
        private int n;      //栈的大小

        //初始化数组，申请一个大小为n的数组空间
        public ArrayStack(int n){
            this.items = new String[n];
            this.count = 0;
            this.n = n;
        }

        //入栈操作
//        public boolean push(String item){
//
//        }

    }


}
